package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName: InvocieGoodsRulesEntity
 * @Description:
 * @author: hjh
 * @date: 2021/7/16 10:35
 */
@Data
@ApiModel(description = "商品明细规则表（审核规则）")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_PURCHASER_INVOICE_GOODS_RULES)
public class InvoiceGoodsRulesEntity extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品明细规则ID")
    @TableId("goods_rule_id")
    private String goodsRuleId;

    @ApiModelProperty("发票审核规则uuid")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("商品明细敏感抬头")
    @TableField("goods_sensitive_head")
    private String goodsSensitiveHead;

    @ApiModelProperty("商品明细不通过原因")
    @TableField("goods_not_pass_reasons")
    private String goodsNotPassReasons;

    @ApiModelProperty("商品明细规则是否开启，0->不开启 1->开启")
    @TableField("goods_is_open")
    private String goodsIsOpen;

    @ApiModelProperty("商品明细票种类型，全部 ->00，专票-> 01，普票-> 02")
    @TableField("goods_ticket_type")
    private String goodsTicketType;

    @ApiModelProperty("审核未通过规则枚举(0 - 已通过)")
    @TableField("force_flag")
    private String forceFlag;

}
